package demo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 苏西西
 * Date: 2023-06-25
 * Time: 16:43
 */
public class Test {
    public static void main(String[] args) {
        Game game = new Game();
        List<Poker> pokers= game.buyPoker();
        System.out.println(pokers);

        //洗牌
        game.shuffle(pokers);
        //
        System.out.println("洗牌：");
        System.out.println(pokers);

        //接牌
        List<List<Poker>> hand =  game.game(pokers);
        System.out.println("接牌：");
        for (int i = 0; i < hand.size(); i++) {
            System.out.println("第"+(i+1)+"个人的牌"+hand.get(i));
        }


    }
}
